<div class="orders form">
<?php echo $this->Form->create('Order'); ?>
	<fieldset>
		<legend><?php echo __('Edit Order'); ?></legend>
	<?php
		echo $this->Form->input('OrderID');
		echo $this->Form->input('OrderUserID');
		echo $this->Form->input('OrderAmount');
		echo $this->Form->input('OrderShipName');
		echo $this->Form->input('OrderShipAddress');
		echo $this->Form->input('OrderShipAddress2');
		echo $this->Form->input('OrderCity');
		echo $this->Form->input('OrderState');
		echo $this->Form->input('OrderZip');
		echo $this->Form->input('OrderCountry');
		echo $this->Form->input('OrderPhone');
		echo $this->Form->input('OrderFax');
		echo $this->Form->input('OrderShipping');
		echo $this->Form->input('OrderTax');
		echo $this->Form->input('OrderEmail');
		echo $this->Form->input('OrderDate');
		echo $this->Form->input('OrderShipped');
		echo $this->Form->input('OrderTrackingNumber');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Order.OrderID')), null, __('Are you sure you want to delete # %s?', $this->Form->value('Order.OrderID'))); ?></li>
		<li><?php echo $this->Html->link(__('List Orders'), array('action' => 'index')); ?></li>
	</ul>
</div>
